package com.lht.admin.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 公司信息实体
 *
 * @author ZhengZhanWu
 * @date 2019-12-29 14:09:46
 */
@Data
@NoArgsConstructor
@TableName("lst_company_info")
public class CompanyInfoEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //@Getter
    //@AllArgsConstructor
    //public enum BusinessLicenseStatusEnum {
    //    /**
    //     * 无
    //     */
    //    NONE("0"),
    //    /**
    //     * 有
    //     */
    //    OWN("1");
    //
    //    private String value;
    //
    //}

    /**
     * 主键id
     */
    @TableId
    private Long id;
    /**
     * 创建时间
     */
    private Date createAt;
    /**
     * 更新时间
     */
    private Date updateAt;
    /**
     * 是否删除   0:未删除(默认)   1:删除
     */
    private String isDelete;
    /**
     * 申请编号
     */
    private String applyNo;
    /**
     * 推销员用户id
     */
    private Long promoUserId;
    /**
     * 公司名称
     */
    private String companyName;
    /**
     * 公司类型
     */
    private Long companyTypeId;
    /**
     * 公司其他类型
     */
    private String companyTypeOther;
    /**
     * 经营场所id
     */
    private Long businessPlaceId;
    /**
     * 经营场租金
     */
    private BigDecimal businessPlaceRent;
    /**
     * 营业执照   0:无   1:有
     */
    private String businessLicenseStatus;
    /**
     * 成立日期
     */
    private Date establishAt;
    /**
     * 单位类型
     */
    private Long industryTypeId;
    /**
     * 月营业额，单位元
     */
    private BigDecimal monthTurnoverAmount;
    /**
     * 年纳税，单位元
     */
    private BigDecimal annualTaxAmount;
    /**
     * 年开票额，单位元
     */
    private String annualInvoiceAmount;

    public static final String ID = "id";
    public static final String CREATE_AT = "create_at";
    public static final String UPDATE_AT = "update_at";
    public static final String APPLY_NO = "apply_no";
    public static final String PROMO_USER_ID = "promo_user_id";
    public static final String COMPANY_NAME = "company_name";
    public static final String COMPANY_TYPE_ID = "company_type_id";
    public static final String COMPANY_TYPE_OTHER = "company_type_other";
    public static final String BUSINESS_PLACE_ID = "business_place_id";
    public static final String BUSINESS_PLACE_RENT = "business_place_rent";
    public static final String BUSINESS_LICENSE_STATUS = "business_license_status";
    public static final String ESTABLISH_AT = "establish_at";
    public static final String INDUSTRY_TYPE_ID = "industry_type_id";
    public static final String MONTH_TURNOVER_AMOUNT = "month_turnover_amount";
    public static final String ANNUAL_TAX_AMOUNT = "annual_tax_amount";
    public static final String ANNUAL_INVOICE_AMOUNT = "annual_invoice_amount";
}
